# Maintainer: Daniele Debernardi <drebrez@gmail.com>
pkgname=postmarketos-ui-mate
pkgver=1
pkgrel=11
pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)"
url="http://mate-desktop.org/"
arch="noarch"
license="GPL-3.0-or-later"
depends="mate-desktop-environment xorg-server dbus-x11 mesa-egl postmarketos-artwork-wallpapers gtk+2.0 lightdm lightdm-openrc"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-deinstall $pkgname.post-upgrade"
source="000-system-background.gschema.override 001-screensaver.gschema.override 61-lightdm-autologin.conf"
options="!check"

package() {
	install -Dm644 "$srcdir"/000-system-background.gschema.override \
		"$pkgdir"/usr/share/glib-2.0/schemas/000-system-background.gschema.override

	install -Dm644 "$srcdir"/001-screensaver.gschema.override \
		"$pkgdir"/usr/share/glib-2.0/schemas/001-screensaver.gschema.override

	install -Dm644 "$srcdir"/61-lightdm-autologin.conf \
		"$pkgdir"/usr/share/lightdm/lightdm.conf.d/61-autologin.conf
}

sha512sums="b4eded3d1aba2086d53507d434da6f2d5aae24fa49c7a8619abb1d81f87898d7a6d813be777a285ce988d78db236bea7507e7868c39fe020e5d23c230dd36242  000-system-background.gschema.override
68c7614bab2f9beadac6a92508c3d63e05938e2746c7314921d4b0c2fc85e7fdca094c1c7c300710ab778a09b76a85158fc806150bc5bf3fce270f51c1d5d65b  001-screensaver.gschema.override
225c4d1bccad4bdacad34958322015147077158b395b8db095b7afd47e18638044780b381124c3b82bf639af66ea565e1763c54ab9599ec13177c289e0d2a000  61-lightdm-autologin.conf"
